﻿using System;
using System.Collections.Generic;
using System.Xml.Linq;
using System.Xml.Serialization;

namespace SharpAnalyzer.Entities
{
    [XmlRoot(ElementName = "Namespace")]
    public class Namespace
    {
        public static readonly Namespace Empty = new Namespace();

        [XmlAttribute]
        public string Name { get; set; }

        public List<Metric> Metrics { get; set; }

        public List<Type> Types { get; set; }

        [XmlIgnore]
        public IEnumerable<CodeSectionDeclarationSyntaxInfo> SyntaxNodes { get; set; }
    }
}
